<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
    div { width:200px; background:#DDD; }
</style>
</head>
<body>
    <script type="text/javascript">
        window.onload = function() {
            document.getElementById('info').innerHTML = document.layers;
        }
    </script>
    <div id="info"></div>
</body>
</html>
